//
//  HZZFNetworkingError.h
//  HZZFNetworking
//
//  Created by 早范 on 2025/7/10.
//  
//

#import <Foundation/Foundation.h>

FOUNDATION_EXPORT NSError * HZZFNetworkErrorWithUserInfo(NSErrorDomain domain, NSInteger code, NSDictionary *userInfo);

FOUNDATION_EXPORT NSError * HZZFNetworkErrorWithLocalizedDesc(NSErrorDomain domain, NSInteger code, NSString *localizedDescription);

FOUNDATION_EXPORT NSError * HZZFNetworkErrorWithUnderlyingError(NSError *error, NSError *underlyingError);

FOUNDATION_EXPORT BOOL HZZFNetworkErrorOrUnderlyingErrorHasCodeInDomain(NSError *error, NSInteger code, NSString *domain);
